package net.lesscoding.rpc.message;

import lombok.Data;
import lombok.ToString;
import net.lesscoding.message.Message;

/**
 * @author eleven
 * @date 2024/12/4 8:23
 * @apiNote
 */
@Data
@ToString(callSuper = true)
public class RpcResponseMessage extends Message {
    @Override
    public int getMessageType() {
        return Message.RPC_MESSAGE_TYPE_RESPONSE;
    }

    private Object returnValue;

    private Exception exceptionValue;
}
